package cn.nawang.ebeim.client.bean;

public class StorageServer {

  private String id;
  private String host;
  private int port;
  private String storageCloudId;
  private String internalHost;
  private int internalPort;

  public StorageServer() {
    super();
  }

  public StorageServer(String host, int port) {
    super();
    this.host = host;
    this.port = port;
  }

  public StorageServer(String id, String host, int port, String storageCloudId, String internalHost,
                       int internalPort) {
    super();
    this.id = id;
    this.host = host;
    this.port = port;
    this.storageCloudId = storageCloudId;
    this.internalHost = internalHost;
    this.internalPort = internalPort;
  }

  public String getInternalHost() {
    return internalHost;
  }

  public void setInternalHost(String internalHost) {
    this.internalHost = internalHost;
  }

  public int getInternalPort() {
    return internalPort;
  }

  public void setInternalPort(int internalPort) {
    this.internalPort = internalPort;
  }

  public String getHost() {
    return host;
  }

  public void setHost(String host) {
    this.host = host;
  }

  public int getPort() {
    return port;
  }

  public void setPort(int port) {
    this.port = port;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getStorageCloudId() {
    return storageCloudId;
  }

  public void setStorageCloudId(String storageCloudId) {
    this.storageCloudId = storageCloudId;
  }

  @Override
  public String toString() {
    return "StorageServer{" +
            "id='" + id + '\'' +
            ", host='" + host + '\'' +
            ", port=" + port +
            ", storageCloudId='" + storageCloudId + '\'' +
            ", internalHost='" + internalHost + '\'' +
            ", internalPort=" + internalPort +
            '}';
  }
}
